package com._数组Demo1;

public class Test6 {
    public static void main(String[] args) {
        double[] arr = {12.9,53.54,75.0,99.1,3.14};
        double a = arr[0];
        for(int b=1;b<arr.length;b++){
            if(a<arr[b]){
                a =arr[b];
            }
        }
        System.out.println("最大值:"+a);
    }
}
